//
//  SPIdeaViewController.m
//  Sport
//
//  Created by Cass on 2017/12/2.
//  Copyright © 2017年 Cass. All rights reserved.
//

#import "SPIdeaViewController.h"

@interface SPIdeaViewController ()
@property (weak, nonatomic) IBOutlet UITextView *textView;
@property (weak, nonatomic) IBOutlet UIButton *submitBtn;

@end

@implementation SPIdeaViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.submitBtn.layer setBorderColor:[UIColor grayColor].CGColor];
    self.submitBtn.layer.cornerRadius = 10;
    self.submitBtn.layer.borderWidth = 1;
    //超过子图层的部分剪裁掉
//    self.submitBtn.layer.masksToBounds = YES;
    
}


- (IBAction)submitClick:(id)sender {
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.textView resignFirstResponder];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
   
}



@end
